package com.qianke.core.service.impl;

import com.qianke.core.mapper.AdminRoleMapper;
import com.qianke.core.service.AdminRoleService;
import com.qianke.domain.dto.AdminRoleDto;
import com.qianke.domain.dto.query.AdminGroupQuery;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AdminRoleServiceImpl implements AdminRoleService {

    @Resource
    private AdminRoleMapper adminRoleMapper;


    @Override
    public List<AdminRoleDto> listByCondition(AdminGroupQuery query) {
        return adminRoleMapper.listByCondition(query);
    }

}
